.class public Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->finish()V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    const-string/jumbo v1, "waiqin365kefu"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->d(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    const-string/jumbo v1, "waiqin365kefu"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->c(Ljava/lang/String;)V

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    const-string/jumbo v1, "waiqin365kefu"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->b(Ljava/lang/String;)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0802
        :pswitch_1
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->a:Landroid/content/Context;

    const v0, 0x7f030169

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->setContentView(I)V

    const v0, 0x7f0c0802

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0804

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->a:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/utils/l;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/im/utils/l;

    move-result-object v0

    const-string/jumbo v1, "waiqin365kefu"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/im/utils/l;->d(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    const v1, 0x7f02036e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/CustomServiceDetailActivity;->b:Landroid/widget/ImageView;

    const v1, 0x7f02036d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method
